package com.pureut.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.quality.domain.QualityBadSample;
import com.pureut.quality.domain.dto.QualityBadSampleDto;

import java.util.List;

/***
 * 不良样品service
 * Author:C
 * Date:2023/02/06 17:30
 * @DESC
 */
public interface QualityBadSampleService extends IService<QualityBadSample> {

    /**
     * 获取数量
     */
    int getNum(String inspectionSheetNo);

    /**
     * 列表
     */
    List<QualityBadSampleDto> getList(String inspectionSheetNo);

    /**
     * 删除
     */
    boolean delete(Long id, String inspectionSheetNo);
}
